home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990422-19990725 / 000308_news@columbia.edu _Tue Jul 20 14:55:14 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA25554
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 20 Jul 1999 14:55:14 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA02633
  7.     for kermit.misc@watsun.cc.columbia.edu; Tue, 20 Jul 1999 14:37:03 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: ian@freedomnet.demon.co.uk (Ian)
  10. Subject: Re: MSKermit with Dospppd
  11. Date: Mon, 19 Jul 1999 21:47:59 +0000 (GMT)
  12. Organization: Complete shambles.
  13. Message-ID: <19990719.2147.213snz@freedomnet.demon.co.uk>
  14. To: kermit.misc@columbia.edu
  15.  
  16. F> :> Ive been trying to settup MSKermit 3.15 with the packet driver Dospppd.
  17. F> :> The object is to connect to my ISP and use this for Telnetting into
  18. F> :> a Public Lynx. Im connecting but getting no further. What I really
  19. F> :> need is working sample script that I can adapt. Ive had a look around
  20. F> :> the Columbia Uni site but so far I havnt found anything promising.
  21. F> 
  22. F>   It sounds like you've got EPPPD to establish a PPP link, but are
  23. F> having trouble configuring your application, MS-Kermit, properly.
  24. F> Here are some tips.
  25. F> 
  26. F> 1.  It is very helpful to get your network parameters into DOS
  27. F> environment variables.  For example,
  28. F> 
  29. F> set MYIP=<your ip address (probably dynamic)>
  30. F> 
  31. F> and perhaps similary for some or all of GATEWAY, NETMASK and MSS.
  32. F> This is not hard to do with DOSPPP, see its doc's.
  33.  
  34. *** Hi Frank ***
  35.  
  36. Right, Im happy with using these env vars with DOSPPPD. Youre saying
  37. that they can be used by Kermit as well?
  38.  
  39. F> 2.  When you invoke Kermit, make sure it does NOT "set port com1" (or
  40. F> whatever com port your modem/ppp is on).  If you do this, Kermit will
  41. F> try to handle the serial port, fritzing the packet driver that's
  42. F> already there.  Instead, you need to do "set port tcp/ip" (see next
  43. F> point).
  44.  
  45. Yes, my first mistake. There was "set port 1" in my MSCUSTOM.INI.
  46.  
  47.  
  48. F> 3.  Configure all the tcp/ip parameters in kermit.  What I do is "take
  49. F> tcpip.ini" where the configuration file TCPIP.INI contains something
  50. F> like this (be sure to use your own nameservers and so on):
  51.  
  52. I see. Keeping that stuff in a separate file makes things a bit clearer.
  53.  
  54. F> 
  55. F> ;=======================================================================
  56. F> set tcp/ip address \$(MYIP)
  57. F> set tcp/ip subnetmask 255.255.0.0
  58. F> set tcp/ip domain cc.umanitoba.ca
  59. F> set tcp/ip gateway \$(GATEWAY)
  60. F> set tcp/ip primary-nameserver 130.179.16.67
  61. F> set tcp/ip secondary-nameserver 130.179.16.8
  62. F> set tcp/ip broadcast 255.255.255.255
  63. F> ; MSS would usually be 1448 for PPP
  64. F> set tcp/ip mss \$(MSS)
  65. F> set tcp/ip Packet-Driver-interrupt \x60
  66. F> set tcp/ip newline-mode on
  67. F> set tcp/ip debug-Options off
  68. F> set tcp/ip host pollux
  69. F> 
  70. F> ; This must *replace* "set port COMn"
  71. F> set port tcp/ip
  72. F> 
  73. F> def session set port tcp \%1, con
  74. F> 
  75. F> ; TELNET macro, and macros for telnetting to particular hosts
  76. F> ; using appropriate terminal type.
  77. F> ;   \%1 = IP host name or address
  78. F> ;   \%2 = TCP port (optional, default is 23)
  79. F> ;   \%3 = terminal type (optional)
  80. F> ;
  81. F> define telnet -
  82. F>   set flow none,-
  83. F>   set port tcp \%1 \%2,-
  84. F>   if def \%3 set term type \%3,-
  85. F>   pause 0, if fail end 1, connect       ; pause  is enough to start connection
  86. F> 
  87. F> set window 4
  88. F> 
  89. F> echo TCP/IP setup implemented.
  90. F> ;=======================================================================
  91. F> 
  92.  
  93. The $(xxxx) presumably refer to the env vars.
  94.  
  95. F>   Hope this helps,
  96.  
  97. Yes it does. Thanks. Ill stitch this into my settup.
  98.  
  99.  
  100. -- 
  101. Bye now,
  102.         Ian.
  103.